import request from "@/utils/requestPro.js"
// 仓库信息
export const getQueryDepotInformationApi = (params) => {
	return request({
		url: '/admin/appHome/depot/queryDepotInformation',
		method: 'get',
		params
	})
}
// 进行中的票证列表
export const getTicketUploadProgressApi = (params) => {
	return request({
		url: '/admin/merchant/ticketUpload/get/ticket_upload_in_progress',
		method: 'get',
		params
	})
}


// 查询票证历史
export const getTicketUploadHistoryApi = (params) => {
	return request({
		url: '/admin/merchant/ticketUpload/get/ticket_upload_by_start_end_time',
		method: 'get',
		params
	})
}



// 查询一组票证信息
export const getTicketUploadGroupidApi = (params) => {
	return request({
		url: '/admin/merchant/ticketUpload/get/ticket_uploads_with_groupids',
		method: 'post',
		params
	})
}

// 更新票证类型信息
export const updateTicketUploadApi = (data) => {
	return request({
		url: '/admin/merchant/ticketUpload/get/upload_ticket_upload_info',
		method: 'post',
		data
	})
}